
package com.google.earth.kml;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://earth.google.com/kml/2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" final="#all" name="IconStyleType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:ColorStyleType">
 *       &lt;xs:sequence>
 *         &lt;xs:element type="xs:float" default="1" name="scale" minOccurs="0"/>
 *         &lt;xs:element type="xs:float" default="0" name="heading" minOccurs="0"/>
 *         &lt;xs:element type="ns:IconStyleIconType" name="Icon" minOccurs="0"/>
 *         &lt;xs:element type="ns:vec2Type" name="hotSpot" minOccurs="0"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public class IconStyleType extends ColorStyleType
{
    private Float scale;
    private Float heading;
    private IconStyleIconType icon;
    private Vec2Type hotSpot;

    /** 
     * Get the 'scale' element value.
     * 
     * @return value
     */
    public Float getScale() {
        return scale;
    }

    /** 
     * Set the 'scale' element value.
     * 
     * @param scale
     */
    public void setScale(Float scale) {
        this.scale = scale;
    }

    /** 
     * Get the 'heading' element value.
     * 
     * @return value
     */
    public Float getHeading() {
        return heading;
    }

    /** 
     * Set the 'heading' element value.
     * 
     * @param heading
     */
    public void setHeading(Float heading) {
        this.heading = heading;
    }

    /** 
     * Get the 'Icon' element value.
     * 
     * @return value
     */
    public IconStyleIconType getIcon() {
        return icon;
    }

    /** 
     * Set the 'Icon' element value.
     * 
     * @param icon
     */
    public void setIcon(IconStyleIconType icon) {
        this.icon = icon;
    }

    /** 
     * Get the 'hotSpot' element value.
     * 
     * @return value
     */
    public Vec2Type getHotSpot() {
        return hotSpot;
    }

    /** 
     * Set the 'hotSpot' element value.
     * 
     * @param hotSpot
     */
    public void setHotSpot(Vec2Type hotSpot) {
        this.hotSpot = hotSpot;
    }
}
